@include('common.header')
<link rel="stylesheet" href="{{ URL::asset('css/pc.css') }}">
<section class="">

    <form method="post" action="/register" class="userform">
        @csrf
        <div class="formtitle">
            <h2 class="text-center">用户注册</h2>
        </div>

        <div class="form-group">
            <label for="exampleInputEmail1">手机号</label>
            <input type="text" name="phone" class="form-control @error('phone') is-invalid @enderror" value="{{ old('phone') }}">
            @error('phone')
            <div class="invalid-feedback">
                {{ $message }}
            </div>
            @enderror
        </div>

        <div class="form-group">
            <label for="exampleInputEmail1">密码</label>
            <input type="password" name="password" class="form-control @error('password') is-invalid @enderror" value="{{ old('password') }}">
            @error('password')
            <div class="invalid-feedback">
                {{ $message }}
            </div>
            @enderror
        </div>

        <button class="btn btn-primary" type="submit">注册</button>

        <a href="{{ url('/login') }}">
            <dic class="">
                登录
            </dic>
        </a>
        <a href="{{ url('/forget') }}">
            <dic class="">
                忘记密码
            </dic>
        </a>

    </form>
</section>
@include('common.footer')
